{php} $hotarc = arclist('', 10, '', 'click desc'); {/php}
<div class="box box-primary hidden-xs">
    <div class="box-header with-border">
      	<h3 class="box-title">热门文章</h3>
    </div>
    <div class="box-body">
      	<ul class="products-list product-list-in-box">
			{volist name="hotarc" id="vo"}
            <li class="item">
              	<div class="product-img">
                	<img class="x-yy-4" src="{$vo['litpic']|default='/static/common/img/logo.jpg'}" alt="{$vo.title}">
              	</div>
              	<div class="product-info">
                	<a href="{$vo.arcurl}" class="product-title x-t-no1">{$vo.title}</a>
                    <span class="product-description">{$vo.description}</span>
              	</div>
            </li>
			{/volist}
      	</ul>
    </div>
    <div class="box-footer text-center">
      	<a href="{:url('/Category/post')}" class="uppercase">查看所有文章</a>
    </div>
</div>

<!--最新回复-->
{php} $newReplyList = newReplyList(10);{/php}
<div class="box box-primary">
    <div class="box-header with-border">
        <h3 class="box-title"><i class="fa fa-pencil-square-o"></i> 最新回复</h3></div>
    <div class="box-body chat x-p-0">
		{volist name="$newReplyList" id="vo"}
		<div class="x-x-t">
			<a href="{$vo['arcurl']}" class="name text-muted">
			<div class="item x-p-10" style="margin-bottom:0;">
	            <img class="x-yy-4" src="{$vo['userinfo']['avatar']|default='/static/common/img/default.png'}" alt="{$vo['user']['name']}" >
	            <div class="message x-t-no2">
	              	<div class="name">
	                	<small class="text-muted pull-right"><i class="fa fa-clock-o"></i> {$vo['create_time']}</small>
	                	{$vo['user']['name'] ?: $vo['user']['username']}
	              	</div>
	              	{$vo['contents']}
	            </div>
	        </div>
	        </a>
		</div>
		{/volist}
    </div>
</div>